import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Register from '@/components/Register'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: () => import('@/components/DataDisplay')
    },
    // {
    //   path: '/auth',
    //   name: 'Auth',
    //   component: () => import('@/components/AuthPage')
    // },
    {
      path: '/attractions',
      name: 'Attractions',
      component: () => import('@/components/AttractionManagement')
    },
    {
      path: '/users',
      name: 'Users',
      component: () => import('@/components/UserManagement')
    }
  ]
})
